import request from '@/utils/request'

export function queryDisposalCertLineList(data) {
    return request({
        url: '/api/console/disposalCertLine/queryList',
        method: 'post',
        data: data
    })
}

export function queryDisposalCertLineInfo(data) {
    return request({
        url: '/api/console/disposalCertLine/queryDetails',
        method: 'post',
        data: data
    })
}
export function updateDisposalCertLineInfo(data) {
    return request({
        url: '/api/console/disposalCertLine/update',
        method: 'post',
        data: data
    })
}

/**
 * 新增
 * @param data
 * @returns {*}
 */
export function disposalCertLineCreate(data) {
    return request({
        url: '/api/console/disposalCertLine/create',
        method: 'post',
        data: data
    })
}

/**
 * 删除（软删除）
 * @param data
 * @returns {*}
 */
export function disposalCertLineUpdate(data) {
    return request({
        url: '/api/console/disposalCertLine/update',
        method: 'post',
        data: data
    })
}

/**
 * 查详情
 * @param data
 * @returns {*}
 */
export function disposalCertLineQueryDetails(data) {
    return request({
        url: '/api/console/disposalCertLine/queryDetails',
        method: 'post',
        data: data
    })
}

/**
 * 查列表
 * @param data
 * @returns {*}
 */
export function disposalCertLineQueryList(data) {
    return request({
        url: '/api/console/disposalCertLine/queryList',
        method: 'post',
        data: data
    })
}

/**
 * 查询处置证线路用于车辆监控路线展示
 * @param data
 * @returns {*}
 */
export function disposalCertLineQueryNewApprovedLine(data) {
    return request({
        url: '/api/console/disposalCertLine/queryNewApprovedLine',
        method: 'post',
        data: data
    })
}
